package com.web.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 登陆控制
 * @author guwenbin
 *
 */
@Controller
@RequestMapping("/blog")
public class BlogController {
	
	/**
	 * 主页
	 * @return
	 */
	@RequestMapping("/index")
	public String index(){
		return "index";
	}
	
	/**
	 * 关于我
	 * @return
	 */
	@RequestMapping("/aboutme")
	public String aboutme(){
		return "aboutme/aboutme";
	}
	
	/**
	 * 文章
	 * @return
	 */
	@RequestMapping("/article")
	public String article(){
		return "article/article";
	}
	
	/**
	 * 游戏
	 * @return
	 */
	@RequestMapping("/games")
	public String games(){
		return "games/games";
	}
	
	/**
	 * github
	 * @return
	 */
	@RequestMapping("/git")
	public String git(){
		return "git/git";
	}
	
}
